package com.wt.admin.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wt.admin.domain.entity.sys.SysSettingEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysSettingMapper extends BaseMapper<SysSettingEntity> {


    List<SysSettingEntity> find(SysSettingEntity data);

    @Update("update sys_setting set user = #{user},application = #{application}")
    void updates(@Param("user") String user, @Param("application") String application);
}
